package com.bite.common.security.exception;

import com.bite.common.core.enums.ResultCode;

public class ServiceException extends RuntimeException{
    private ResultCode resultCode;
    public ServiceException(ResultCode resultCode){
        this.resultCode=resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }
}
